import { defineStore } from "pinia";
interface dataType {
	name: string;
	number: string;
	industry: string;
	legalName: string;
	id: string;
	contacts: string;
	phoneNumber: string;
	productName: string;
	money: string;
	term: string;
	use: string;
	bank: string;
	house: string;
	car: string;
}
interface dataListType{
    userData:dataType
}

export const userDetilsStore = defineStore("userDetils", {
	state: ():dataListType => {
		return {
			userData: {
				name: "",
				number: "",
				industry: "",
				legalName: "",
				id: "",
				contacts: "",
				phoneNumber: "",
				productName: "",
				money: "",
				term: "",
				use: "",
				bank: "",
				house: "",
				car: "",
			},
		};
	},
});
